<include file="_header" />
<script>
/*$(document).ready(function(){
	var $hotTopicTab = $('#hotTopicTab');
	$('#addHotTopic').click(function(o){
		$hotTopicTab.append('<div>'
		          + '话题：<input type="text" name="hotTopic[]" /> <a href="javascript:;" title="delete">删除</a><br />'
		          + '描述：<textarea name="hotTopicNote[]" cols="36" rows="1"></textarea>'
	        	  + '</div>');
		_click_hot_topic();
	});
	_click_hot_topic();
});
function _click_hot_topic()
{
	$('#hotTopicTab > div').click(function(o){
		var $this = $(this);
		var $target = $(o.target);
		var title = $target.attr('title');
		if ('delete' == title) {
			$this.remove();
		} else if ('topics' == title) {
			var topic = $('input[name="hotTopic[]"]', $this).val();
			location.href='{:U('weibo/Admin/editTopicsTab')}' + '&k=' + encodeURIComponent(topic);
		}
	});
}*/
</script>
<div class="so_main">
  <include file="_tab" />
  <div class="form2">
  	<form method="post" action="{:U('weibo/admin/index')}">
    <dl class="">
      <dt>今日话题：</dt>
      <dd>
        <input name="todaytopic" type="text" value="{$todaytopic}">
      </dd>
    </dl>
    
    <dl class="">
      <dt>是否开启动态按钮：</dt>
      <dd>
        <label><input name="openDynamic" type="radio" value="1" <eq name="openDynamic" value="1">checked</eq> >是</label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label><input name="openDynamic" type="radio" value="0" <eq name="openDynamic" value="0">checked</eq> >否</label>
      </dd>
    </dl>
    
    <dl class="">
      <dt>是否启用微博自动举报：</dt>
      <dd>
        <label><input name="openAutoDenounce" type="radio" value="1" <eq name="openAutoDenounce" value="1">checked</eq> >是</label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label><input name="openAutoDenounce" type="radio" value="0" <eq name="openAutoDenounce" value="0">checked</eq> >否</label>
		<br />(作用：如果发布的微博内容含有需要过滤的敏感词，用户发布不成功且自动进入举报中的回收站列表)
		<br />(提示：1.需要开启敏感词过滤，设置位置：后台 - 全局 - 审核配置；2.需要过滤的敏感词不能为空)
      </dd>
    </dl>

    <dl class="">
      <dt>当前的时间话题榜：</dt>
      <dd>
        <volist name="autoTopic" id="vo">
        <a href="{:U('home/User/search',array('k'=>urlencode($vo['name'])))}" title="{$vo.name}" target="_blank">{$vo.name}({$vo.count})</a><br />
        </volist>&nbsp;
      </dd>
    </dl>

    <dl class="">
      <dt>当前时间话题榜的时间范围：</dt>
      <dd>
        <input name="hotTopicTime" type="text" value="{$hotTopicTime}">天
		<br />(提示：0为无限制)
      </dd>
    </dl>

    <dl class="">
      <dt>当前推荐话题榜：</dt>
      <dd>      	  
        <volist name="recommendTopic" id="vo">
        <a href="{:U('home/User/topics',array('k'=>urlencode($vo['name'])))}" title="{$vo.name}" target="_blank">{$vo.name}({$vo.count})</a><br />
        <if condition="$vo['note']"><div class="topic_tips">
	    	<div class="topic_arr"></div>
	        <div class="topic_info">{$vo['note']}</div></div></if>
        </volist>
	    <a href="{:U('weibo/Admin/topics')}">+ 编辑推荐话题</a>
      </dd>
    </dl>

<!-- 
    <dl class="">
      <dt>设置推荐话题：</dt>
      <dd>
      	<div id="hotTopicTab">
      	  <volist name="recommendTopic" id="vo" key="">
	      	<div>
		        话题：<span class="hotTopic">{$hotTopic[$key]}</span>
		        <input type="hidden" name="hotTopic[]" value="{$hotTopic[$key]}" />&nbsp;&nbsp;
		        <a href="javascript:;" title="delete">删除</a>&nbsp;&nbsp;
		        <a href="javascript:;" title="topics">设置专题</a><br />
		        描述：<span class="hotTopic">{$hotTopic[$key]}</span>		        
		        <input type="hidden" name="hotTopicNote[]" value="{$hotTopic[$key]}" />
	        </div>
	      </volist>
        </div>
	    <a href="javascript:;" id="addHotTopic">+添加话题</a>
      </dd>
    </dl>
 -->

    <dl class="">
      <dt>设置屏蔽的热门话题：</dt>
      <dd>
        <textarea name="maskHotTopic" cols="50" rows="4">{$maskHotTopic}</textarea>
        <br />(提示：1.请不要于推荐话题冲突；2.多个话题用|号分开；)
      </dd>
    </dl>
    <div class="page_btm">
      <input type="submit" class="btn_b" value="确定" />
    </div>
    </form>
  </div>
</div>
<include file="_footer" />